<?php
/*
Engineer: Alex Arey
Updated: 12/2/2011
Description: Displays information on internships associated with community partner

*/


 ?>
<h2>Service-Learning Internships</h2>
<p> 
Community partners with growing needs or specialized projects opt to participate in the Service-Learning Internship program. 
Students from UNC-Chapel Hill apply to participate and are matched with agencies that meet both their interests and learning goals. 
Community partners and the APPLES Service-Learning Program mutually select an intern that best matches the needs of the agency 
and the interests of the intern. APPLES subsidizes half of the cost of spring and summer interns, who are hired by the internship site 
and placed on their biweekly or monthly payroll.
</p>
<p>
<strong>Spring interns</strong> agree to work 12-15 hours a week for 10-12 weeks (150 hours total) during the semester and are compensated
 with $1200 in funding. In addition, spring interns earn 3.0 hours of graded academic credit through an internship course in the School
 of Social Work taken in conjunction with the internship.
</p>
<p>
<strong>Summer interns</strong> agree to work 35-40 hours a week for 8-10 weeks (320 hours total) during the summer and are compensated
 with $2500 in funding. In addition, summer interns earn 1.0 hour of graded academic credit through an online course co-hosted by
 the Friday Center for Continuing Education and the School of Social Work.
</p>
<ul>
    <li>
        <a href="<?php echo $this->url(array('controller'=>'partner','action'=>'browseinternships')) ?>">View Past Internship Requests</a>
    </li>
    <li>
	<a href="<?php echo $this->url(array('controller'=>'partner','action'=>'submitinternship')) ?>">Submit New Internship Request</a>
    </li>
</ul>
<?php if($this->positions):?>
<h3>Your current internship requests:</h3>
<table>
    <tr>
        <th>Position</th>
        <th>Term</th>
        <th>Positions Requested</th>
        <th>Positions Possible</th>
    </tr>
    <tr>
    <?php foreach($this->positions as $pos): ?>
    <td align="center"><a href="<?php echo $this->url(array('controller'=>'partner','action'=>'viewinternship','position'=>$pos['POSID'])); ?>
		"><?php echo $pos['NAME'] ?></a></td>
	<td align="center"><?php echo $pos['TERM'] ?></td>
    <td align="center"><?php echo $pos['POSITIONSREQUESTED'] ?></td>
	<td align="center"><?php echo $pos['POSITIONSGRANTED'] ?></td>  	
    </tr>
    <?php endforeach ?>
    </tr>
<?php endif; ?>
<?php if(!$this->positions):?>
	<h3>You have no current internship requests.</h3>
<?php endif; ?>
</table>
